<%@page import="code.CodeDAO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>    
<% request.setCharacterEncoding("UTF-8"); %>    
<!DOCTYPE html>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title> </title>
</head>
<body>
<jsp:useBean id="dto" class="code.CodeDTO" />
<jsp:setProperty property="*" name="dto"/>
<%
CodeDAO dao = new CodeDAO();
dao.setDto(dto);
//session값으로 수정자 세팅 ============ //
dto.setMd_pp((String)session.getAttribute("mid"));
//============================================== //
int yn = dao.update();
%>
</body>
</html>